Skip to content

Fix typos and narrow a bare except#1380

Open
RecreationalMath wants to merge 1 commit into
TransformerLensOrg:devfrom
RecreationalMath:minor-cleanups
Open

Fix typos and narrow a bare except#1380
RecreationalMath wants to merge 1 commit into
TransformerLensOrg:devfrom
RecreationalMath:minor-cleanups

Conversation

@RecreationalMath

@RecreationalMath RecreationalMath commented Jun 12, 2026

Copy link
Copy Markdown
Contributor

Description

Small hygiene pass over the package. I noticed a couple of doc typos and a bare except: while working in the code. Then ran codespell across the package to sweep up the rest. The only behaviour change is the narrowed except in TransformerBridge.run_with_cache's cache hook, which now lets KeyboardInterrupt and SystemExit propagate instead of being swallowed. Everything else is comment, docstring, and one assert-message typo, none of which changes logic.

Type of change

  • Bug fix (non-breaking change which fixes an issue)

Checklist:

  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • I have not rewritten tests relating to key interfaces which would affect backward compatibility

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant